package com.example.second.adapter;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.example.second.R;
import com.example.second.adapter.classes.Machine;
import com.example.second.adapter.classes.MyAdapter;

public class AdapterActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_adapter);

        Machine machine1 = new Machine();
        machine1.power(new MyAdapter());
    }
}